﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace Mengsk.ProxyDelivery.App.UI.Order
{
    class OrderMarkVM : DependencyObject
    {
        public static readonly DependencyProperty SelectedIndexProperty = DependencyProperty.Register("SelectedIndex", typeof(int), typeof(OrderMarkVM));

        public int SelectedIndex { get { return (int)this.GetValue(SelectedIndexProperty); } set { this.SetValue(SelectedIndexProperty, value); } }

        public Mengsk.ProxyDelivery.Domain.OrderGoods Source { get; set; }

        public OrderMarkVM(Mengsk.ProxyDelivery.Domain.OrderGoods orderGoods)
        {
            this.Source = orderGoods;
            this.SelectedIndex = 0;
        }
    }
}
